package net.tuura.demo.model

import net.liftweb.mapper.IdPK
import net.liftweb.mapper.LongKeyedMapper
import net.liftweb.mapper.LongKeyedMetaMapper
import net.liftweb.mapper.MappedString

class Problem extends LongKeyedMapper[Problem] with IdPK {
  def getSingleton = Problem
  
  object name extends MappedString(this, 100)
  object language extends MappedString(this, 20)
  object author extends MappedString (this, 64)
}

object Problem extends Problem with LongKeyedMetaMapper[Problem]